package com.izobnehc.rabbit.rabbitgenerator.domain;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 字段
 * @author 11272
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class GeneColumn {

    /**
     * 字段名
     */
    private String columnName;

    /**
     * 字段类型
     */
    private String columnType;

    /**
     * 字段长度
     */
    private Integer columnSize;

    /**
     * 字段注释
     */
    private String columnComment;

    /**
     * 字段默认值
     */
    private String defaultValue;

    /**
     * 是否主键
     */
    private boolean isPrimary;

    /**
     * 字段名小驼峰
     */
    private String columnNameCamel;
}
